package com.nbgroup.service;

import com.nbgroup.pojo.Clue;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nbgroup.pojo.common.PageBean;
import com.nbgroup.pojo.common.PageResult;
import com.nbgroup.pojo.dto.AssignmentOrGainClueDTO;
import com.nbgroup.pojo.dto.CluePageQueryDTO;
import com.nbgroup.pojo.dto.CluePoolPageQueryDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-10-26
 */
public interface IClueService extends IService<Clue> {

    /**
     * 分页查询线索
     * @param dto
     * @return
     */
    PageBean pageQuery(CluePageQueryDTO dto);

    /**
     * 线索池分页查询
     * @param dto
     * @return
     */
    PageResult cluePoolPageQuery(CluePoolPageQueryDTO dto);

    /**
     * 线索捞取
     * @param dto
     * @return
     */
    Boolean gainClue(AssignmentOrGainClueDTO dto);
}
